// 03.03.12 - Steven Hartin - Fixed constructors not initialising constants
// 01.03.12 - Matthew Brews - Original Creation.

#include "static_entity.h"

CStaticEntity::CStaticEntity(const string &szKey, const ENTITY_ID &nId,
                             float fX, float fY, float fZ, bool bVisible):
    CEntity(szKey, nId, fX, fY, fZ, bVisible)
{
}

void CStaticEntity::setX(float x)
{
    throw std::runtime_error("Cannot set position of a static entity");
}

void CStaticEntity::setY(float y)
{
    throw std::runtime_error("Cannot set position of a static entity");
}

void CStaticEntity::setZ(float z)
{
    throw std::runtime_error("Cannot set position of a static entity");
}

void CStaticEntity::setPosition(float x, float y, float z)
{
    throw std::runtime_error("Cannot set position of a static entity");
}